<?php
$con = mysql_connect("192.168.1.170","localuser","password");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
  
  date_default_timezone_set('PRC');
 ?>